Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.faceted.search.dm.local.configuration.theme

Contributions

XML Source

<component name="org.nuxeo.ecm.platform.faceted.search.dm.local.configuration.theme">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="FACETED_SEARCH_CONFIGURATION" link="/incl/tabs/faceted_search_configuration.xhtml"
      order="100" label="action.view.theme" icon="/icons/file.gif">
      <category>LOCAL_CONFIGURATION</category>
      <filter-id>manage</filter-id>
    </action>

  </extension>


  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="faceted_search_content_views_selection">
      <configuration>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">/widgets/faceted_search_contentView_selection_widget_template.xhtml
      </property>
    </widgetType>

  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">

    <widget name="faceted_search_content_views_selection" type="faceted_search_content_views_selection">
      <labels>
        <label mode="any">label.faceted.search.local.configuration.content.view.selection.label</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>fsc:deniedContentViews</field>
      </fields>
    </widget>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">

    <layout name="faceted_search_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">/layouts/layout_default_template.xhtml</property>
        <property name="foldableBoxLabel">label.faceted.search.local.configuration.content.view.selection</property>
        <property name="localConfigurationFacet">FacetedSearchLocalConfiguration</property>
        <property name="helpLabel">label.faceted.search.local.configuration.content.view.selection.info</property>
      </properties>
      <rows>
        <row>
          <widget>faceted_search_content_views_selection</widget>
        </row>
      </rows>
    </layout>

  </extension>

</component>